﻿using PmSoft.Entity;

namespace ManagementApi.Mvc.Authorization
{
    public class AppUserInfo : IAppUserInfo
    {
        public int SecurityId { get; set; }

        public UserType UserType { get; set; }

        public string IdCard { get; set; }

        public DateTime ExpireTime { get; set; }

        public int PersonId { get; set; }
    }

    public interface IAppUserInfo
    {
        int SecurityId { get; }

        UserType UserType { get; }

        string IdCard { get; }

        DateTime ExpireTime { get; }

        int PersonId { get; }
    }
}
